/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package br.gov.cemaden.library.interfaces.smp;

import br.gov.cemaden.library.model.smp.ExecHardware;
import br.gov.cemaden.library.model.smp.Swap;
import java.util.List;

/**
 *
 * @author paulo.dias
 */
public interface SwapInterface {
    List<Swap>findAll();
    Swap findById(Long id);
    List<Swap> findBySwapUsed(Double swapUsed);
    List<Swap> findBySwapTotal(Double swapTotal);
    List<Swap> findBySwapFree(Double swapFree);
    List<Swap> findByExecHardware(ExecHardware execHardware);
    Swap insert(Swap swap);
    Swap update(Swap swap);
    void delete(Swap swap);  
}
